package ch08;

/**
 * Created by hasee on 2017/6/19.
 */
public class Words {
    public static void main (String[] args)
    {
        Dictionary webster = new Dictionary();

        System.out.println ("Number of pages: " + webster.getPages());

        System.out.println ("Number of definitions: " +
                webster.getDefinitions());

        System.out.println ("Definitions per page: " +
                webster.computeRatio());
    }
}
